Part Number Hot Search : 
2SC408 10C10 AD843JN FJX3011R AL250 TC75S DG413DJ 33100
Product Description
Full Text Search
 

To Download GDM240128A Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  worldtech lcd l t d approv al sheet c u s t o m e r : part name : lcd module model n o . : GDM240128A drawing no. : approved by : d a t e : 2005.06.03 approved by checked by prep ared by sheet code 2005-06-03 t
user?s manual - 1 - contents 1. scope ------------------------ -------------------- ----------------- 2 2. warranty ------------------------------- -------------------------- 2 3. features --------------------------------------------------------- 2 4. dimensional outline ----------------------------------------- 6 5. i/o terminals ---------------------------------------------------- 7 6. quality level --------------------------- ------------------------ 23 7. reliability ------------------------------------------------------ 26 8. handling precautions -------------------- ------------------ 26 9. precaution for use ------------------------- ----------------- 28 10.appendix ----------------- ---------------------- ----------------28
user ? s man u al - 2 - 1. scope this manual defines general pro v isions as well a s inspection st andards fo r lcd module supplied by w o rld t ech lcd l t d if the event of unfores een problem or unspecifie d items may occur , please cont act the nearest supplier or our co mp any for solution. 2. w a rranty if module is not stored or used as sp ecif ied in this manual, it will be void the 12 months warrant y . 3. features 3-1. features: display mod e : t r ansflective and positive type stn lcd dis p lay color: dis p lay dot s : black background: light gray display fo rmat: 240(w) 12 8(h) full dot s input dat a : 8-bit s p a rallel dat a interface from a mpu multiplexing ratio: 1/128 duty v i ewing angle: 6 o?clock back light: led backlight white display ram cap a city : 32k byte s-ram (built-in) controller t y pe: t6963c (bu ilt-in) c g rom/ ram c a p a cit y : bu ilt- i n 12 8 w o rds ch a r acte r g e n e r at or (c g ) r o m . 3-2 mecha n ical s pecifications: i t e m s pecificati ons u n i t dimens ion a l outline 144.0(w ) 10 4.0 ( h ) 16.0 m a x. mm number of d o t s 240(w ) 12 8( h) dot s ? number of c h a r acters 40c 1 6l( 640 ) in case of 6 8 f ont s 30c 1 6l( 480 ) in case of 8 8 f ont s ? v i e w i ng are a 1 14.0(w ) 64. 0 ( h ) m m active area 107.9 5 (w ) 57 . 5 5 ( h ) m m dot pitch 0.45(w ) 0 . 4 5 ( h ) m m dot size 0.40(w ) 0 . 4 0 ( h ) m m w e i g h t a p p r o x . 18 0 g
user?s manual - 3 - 3-3 absolute maximum rating item symbol min. max. unit note logic vdd -0.3 7.0 v vss=0v supply voltage lcd drive vdd ? vee 0 28 v input voltage vi -0.3 vdd+0.3 v vss=0v operating temper ature top -10 60 storage temperature tstg -20 70 humidity ? ? 90 %rh 3-4 electrical characteristics: 3-4-1. electrical characteristics note: <1> duty =1/128 <2> all dots on static state item symbol conditions min. typ. max. unit logic vdd 4. 5 5.0 5. 5 supply voltage lcd drive vdd?vee ? 20 25.0 ?h? level vih vdd=5v 5% vdd-2.2 ? vdd input voltage ?l? level vil 0 ? 0.8 ?h? level voh vdd=5v 5% vdd-0.3 ? vdd output voltage ?l? level vol 0 ? 0.3 v frame frequency fflm vdd=5v 70 75 80 hz logic idd ? 5.7 10.0 current consumption lcd drive iee vdd=5v vdd?vee=20.0v fflm=75hz ? 5.4 9.8 ma ta = - 1 0 =0 , =0 ? 20.8 ? ta = 2 5 =0 , =0 ? 20.0 ? lcd driving voltage (recommended voltage) vdd?vee ta = 6 0 =0 , =0 ? 19.5 ? v 3-4-2 specifications for e/l backlight standard values item unit min. typ. max. conditions supply voltage v ? 5.0 ? ? supply frequency ma ? 72 ? dc5.0 vrms, dark room lifetime hrs 10000 note <1> luminous color ? white dc5.0vrms, dark room operating temperature -30~70 ? storage temperature -40 ~ 85 ? note<1>: half value of initial brightness at 20 60%rh
user ? s man u al - 4 - 3 - 5 electro-optical characteri stics: i t e m s y mb ol t e mp. c ond itio n s m i n . t y p . m a x . u n i t n o t e -10 ? 2 0 . 8 2 4 . 0 25 ? 2 0 . 0 ? lcd driv ing v o lt age (recomme nde d volt ag e) v op 60 =0 , =0 ? 1 9 . 5 ? v 1 , 2 , 5 0 ? 150 0 200 0 rise t i me tr 25 ? 1 5 0 2 0 0 0 ? 300 0 350 0 response ti m e deca y ti m e td 25 =0 , =0 ? 2 0 0 2 5 0 m s 1 , 3 , 5 v e r t i c a l - 3 5 ? 3 5 v i e w i ng an gle ? 25 horizo nt a l - 3 0 ? 3 0 d e g . 1 , 4 , 5 contrast rati o k 25 =0 , =0 2 . 0 5 . 0 ? ? 1 , 5 , 6 note: <1> definition of and <2> cont rast ratio higher tha n 2 (k 2) can be obt ained in this volt age range. note: <3>de f inition of response time wavefo rm positive disp lay negative display
user ? s man u al - 5 - note: <4>de f inition of viewing angle note: <5> optical measuring system ( ? ) ? =| 1- 2 | temperature regulate d chamber note: <6> definition of contrast ratio (k) positive disp lay negative display brightness of non-selected dot (b2) brightness of selected dot (b1) contrast ratio (k) =
user ? s man u al - 6 - 4. dimensional outline
user ? s man u al 5. i/o terminals note: the following expl anation is applied for the module without built-in volt age converte r . 5-1. i/o connection pin no, s y mb ol f unction 1 v s s sign al gro und( g n d ) 2 vdd po w e r s upp l y f o r logic(+ 5 v) 3 v 0 contrast ad just m e n t 4 c/d h/l re gister s e lect sig nal 5 rd dat a read (active at ?l?) 6 w r dat a w r ite (acti v e at?l?) 7 ~ 1 4 d 0 ~ d 7 dat a bus(d0= l s b , d 7 = m s b ) 15 ce dat a read (active at ?l?) 1 6 r e s r e s e t sig n a l 17 vee po w e r supply f o r lcd driv e 1 8 m d 2 h= 32,l= 4 0 1 9 f s f ont select: conn ected to vdd: 6 8 d o t s font c o n n e c t e d t o v s s : 8 8 dot s font 20 led+ po w e r su ppl y f o r backli ght 5-2 signal t i ming diagram: i t e m s y mb o l cond itio n m i n . m a x . u n i t c/d set-up time tcds 100 ? c/d hold time tcdh 10 ? ce,rd,w r pul se w i d t h t cp,trp,t w p 80 ? dat a set-up tim e t d s 80 ? dat a hol d time t dh 40 ? access time t a cc ? 150 output hold tim e toh vdd= 5v 5% vss=0v ta = 2 5 1 0 5 0 ns - 7 -
user ? s man u al - 8 - 5-3. example of power supply nc note: there is an end on the potentiom e te r for regul ating contrast ratio. 5-4. circuit block diagra m the circuit block diagram is shown in the following figure. the lcd module need s two power s ources: vdd for logic and v ee for lcd drive. note: it is n e cessary to guard all signals from external noise as signal lines are directly connected to c-mos and are not pull-up or pull-down in ternally . 5-5 applica t ion features of module: 1 this module can be directly c onnected to 8080mpu or z80mpu. 2 this module can be set to display in combined dis p lay of gr aph ic and text
user?s manual - 9 - (contents of the text area and of the graphic area are displayed on the screen simultaneously by mode set.) and in attribute display of text mode. 3 mpu can access the ddram at any time in the mode of byte / bit operation. 4 character font: 6 8 dots or 8 8 dots 5 a status check must be performed before data or command are read or written. 6 both the column/line counter and disp lay register are cleared by reset. (other registers are not cleared.) ddram is kept intact. disable the display using the clear-display register . after power on, it is necessary to reset by software. 7 by the hardware setting, display columns are defined 40 characters long, maximum transferable amount of data every line. 8 display lines are defined 128 by hardware setting. 9 this module has a 128-word character generator rom (see appendix), and allocation of external character generator ram can be made easily in ddram. 10 ddram can be allocated to text area, graphic area and external character area. the text home address and the graphic home address correspond to the display bit on the top left corner of the lcd panel. in 6 8 dot matrix, one byte in the text area corresponds to a character on the screen. one byte in graphic area corresponds to 6 1 dot matrix on the screen (the lower 6 bits of a byte are valid). 11 cursor display mode is on only in the text mode and what is displayed is the logic or of cursor and the character where the cursor is. 12 for some commands that need operand dat a, it is important to send the operand data first and t hen the command code. 13 text attribute mode is only applicable in text mode. (in this case, text mode and graphic mode should both be on.) 14 the relationship between text area and display position in lcd panel is shown below: th th+1 ? th+cl th+ta th+ta+1 ? th+ta+cl (th+ta +ta (th+ta +ta+1 ? th+2ta+cl (th+2ta +ta (th+2ta +ta+1 ? th+3ta+cl ? ? ? ? th+15ta th+15ta+1 ? th+15ta+cl
user?s manual - 10 - note: th: the text home address ta: the width of text area (number of characters /line), to be defined by user. cl: number of characters/line set by hardware, the cl of this module is 40. 15 the relationship between graphic area and display position in lcd panel is shown below: gh db7~db0 gh+1 ? gh+cl gh+ta gh+ta+1 ? gh+ta+cl (gh+ta +ta (gh+ta +ta+1 ? gh+2ta+cl (gh+2ta +ta (gh+2ta +ta+1 ? gh+3ta+cl ? ? ? ? gh+127ta gh+127ta+1 ? gh+127ta+cl note: gh: the graphic home address ta: the width of graphic area (number of characters /line), to be defined by user. cl: number of characters/line set by hardware, the cl of this module is 40. note: in text mode or graphic mode, when ta cl, the relationship between the valid display area of the lcd panel and ddram address is detailed in 5-6-2. 5-6 commands the command of this module may have one operand datum, or two operand data or none). it is important to s end the data first, and then to send the command code. if the number of the operand data is more than specified, the last are valid. the status check must be performed every time before the data and commands are read or written. the status word format is as follows: sta7 sta6 sta5 sta4 sta3 sta2 sta1 sta0 sta0: check command execution capabilit y 1: enable 0: disable sta1: check data read/write capability 1: enable 0: disable sta2: check auto mode data read capabilit y 1: enable 0: disable sta3: check auto mode data write capabilit y 1: enable 0: disable sta4: not used sta5: check controller operation capab ility 1: enable 0: disable sta6: error flag. used for screen peek and screen copy commands 1: error 0: no error sta7: check the blink condition 1: normal display 0: display off note: 1. it is necessary to check sta0 and sta1 at the same time. there is a possibility of erroneous operati on due to a hardware interrupt. 2. for most modes sta0/sta 1 are used at a status check.
user ? s man u al - 11 - 3. st a2 and st a3 are valid in auto mode; st a0 and st a1 are invalid. 4. st a6 is valid in screen pe ek and screen copy mode . 5. st a5 and st a7 mirror the interior ope rational st atu s . 5-6-1 registers setting, the for m at is as follows: d1,d2 0 0 1 0 0 n 2 n 1 n 0 d1, d2 is the first and the second p a ramete rs respectively , and the last byte is command code. according to the va lues of n0, n1, n2, this command has three meanin g s. d1 d2 code f unction x addr ess (lo w er 7 b i t s are valid) y address (lo w er 5 b i t s are valid) 21h (n0= 1) set cursor poi n t er address (lo w er 5 b i t s are valid) 00h 22h (n1= 1) set of fset regis t er lo w a ddress high a ddr ess 24h (n2= 1) set address p o i nter a set cursor pointer: d1 st ands for the horizo n t a l dist ance (number of characters) of cursor to the top lef t corner of the real lcd p anel. d2 st and s for the vertical dist ance ( number of character lines). setting a nd changing the cursor p o sition mu st be performe d through re setting the cursor pointer . the cursor pointer is not relat ed to address po inter and ha s no auto change function. b set cgram of fse t register: set the high 5 bit s of cgram? s 16 bit address in ddram. the actual address of cgram is: of fs et adrs : c4 c3 c2 c1 c0 cha r . code: d7 d6 d5 d 4 d3 d2 d1 d0 line adrs : + r 2 r 1 r 0 actual.adrs.: a15 a14 a13 a12 a1 1 a10 a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 r2~r0: re pr esent one line of the self- designed 8x 8 dot s chara c ters. when the in ternal cgr o m mode is set in mode set, the character cod e allocated to extern al character gener ator is 80h~ffh. when the extern al cgrom mode is set in mode set, t he character code allocated to the extern al character genera t or is 00h~ffh. for example : when allocate the unit s of 1800h~1f ffh 2k in ddram to cgram, th e of fset register could b e set to #03h. thus, the address of character wh ose code is 80h in ddr am is 1c00h~1c0 7h. b set address pointer: set the unit addr ess of ddram to be accessed. d1 and d2 a r e the low address and high addr e ss of the unit address respectiv e ly . 5-6-2 control wo rd setting, the command format is as follows: d1, d2 0 1 0 0 0 0 n 1 n 0 according to dif f erent valu es of n1 and n0, this command has four functions:
user?s manual - 12 - n1 n0 d1 d2 code function 0 0 low adrs. high adrs. 40h set text home address 0 1 columns 00h 41h set text area (number of characters/line) 1 0 low adrs. high adrs. 42h set graphic home address 1 1 columns 00h 43h set graphic area (number of characters/line) the text home address corresponds to t he character position on the top left corner of display panel. the graphic home address corresponds to the byte position on the top left corner of display panel. the text area (number of characters/line) set and graphic area (number of characters/line) set are used to adjust the width (column) of valid display screen. the width indicates the number of character or the number of bytes can be validly displayed. define the width of display screen to be cl by hardware and the width of display screen to be ta by this command then the relationship between text area and its corresponding position on lcd panel is shown as follows: a when ta<=cl: th stands for the text home address th ?? th+ta-1 th+ta ?? th+2ta-1 ?? ?? ?? ?? ?? ?? blank ? ------------------ ta valid display screen ------------------ ? ? ------------------------------------------- cl ----------------------------------------------- ? b when ta>cl: th ?? th+cl-1 ?? th+ta-1 th+ta ?? th+ta+cl-1 ?? th+2ta-1 ?? ?? ?? ?? ?? ?? do not transfer ? ------------------ cl valid display screen -------------------- ? ? ------------------------------------------- ta ----------------------------------------------- ? the way in which the graphic area corresponds to its position in display screen is similar to the way in which the te xt area corresponds to its position in display screen. the only difference is that in graphic area one byte corresponds to 8 bits graphic data. if the graphic area is defined to be t he same number of char acters/line of lcd, the home address of every line equals to end address of the previous line +1. 5-6-3 mode setting, the format of co mmand is as follows: no parameter 1 0 0 0 n3 n2 n1 n0 n3: select character generator mode
user?s manual - 13 - n3=1, select cgram and the character code is 00~ffh. n3=0, select internal cgrom. sinc e the character code of cgrom is 00~7fh, when take 80h~ffh as charac ter code, cgram is automatically selected. n2~n0: combined-display mode setting. the functions are shown below: n2 n1 n0 means of combination 0 0 0 ?or? mode 0 0 1 ?exor mode 0 1 1 ?and? mode 1 0 0 text attribute mode only when the text mode and graphic mode are both on, the combined display mode and text attribute mode settings are va lid. after the text attribute setting, the graphic area will be converted into text attribute area and store the text attribute codes. the text attribute area is of the same size as text area. in addition, the text attribute codes of the character codes in text area are stored in the same address of graphic area. every byte in the graphic area determines the feature of its corres ponding character, including the normal display, reverse display, inhibit display, blink of normal display, blink of reverse display and blink of reverse display of char acters. in the text attribute area, the text attribute codes of characters ar e made up with a byte?s low four bits. d7 d6 d5 d4 d3 d2 d1 d0 * * * * d3 d2 d1 d0 d3: blink control. 1-blink, 0-no blink d2~d0 : d2 d1 d0 function 0 0 0 normal display 1 0 1 reverse display 0 1 1 inhibit display to work in the text attribute mode, the user could build an independent area in the ddram as text attribute area. in this case, the graphic home address should be converted into the text attribute home address, and thus keep the data in the previous graphic area. ddram could be divided as follows: graphic area text attribute area text area cgram 2k 5-6-4 display mode setting, the format of command is as follows: no parameter 1 0 0 1 n3 n2 n1 n0
user?s manual - 14 - n0: 1/0, cursor blink on/off n1: 1/0, cursor display on/off n2: 1/0, text display on/off n3: 1/0, graphic display on/off 5-6-5 cursor pattern select, format is shown as below: no parameter 1 0 1 0 0 n2 n1 n0 the cursor pattern in 8 dots(segment) n(line). the value of n is in the range of 1 line to 8 lines (00h~07h). 5-6-6 data auto read/write mode: no parameter 1 0 1 1 0 0 n1 n0 using this command, mp u could continuously re ad/write the data in ddram without inputting the read/writ e command every time. the address pointer is automatically increased by 1 after each datum. the auto reset command must be sent after all data have been sent, to clear auto mode. n1 and n0 function as below: n1 n0 code function 0 0 b0h set data auto write 0 1 b1h set data auto read 1 * b2h/b3h auto reset 5-6-7 data read/write mode, the format is shown below: d1, 1 1 0 0 0 n2 n1 n0 d1 n2 n1 n0 code function data 0 0 0 c0h data write, adp+1 data 0 0 1 c1h data read, adp+1 data 0 1 0 c2h data write, adp-1 0 1 1 c3h data read, adp-1 data 1 0 0 c4h date write, same adp 1 0 1 c5h date read, same adp 5-6-8 screen peek, the format of comm and is as follows: no parameter 1 1 1 0 0 0 0 0 this command is used to transfer 1 by te of displayed data positioned by current address pointer to the data sta ck; this byte can then be read from the mpu by data access. the logica l combination of text and graphic display data on the lcd screen can be read by this command. the address pointer should be set in graphic area. 5-6-9 screen copy, the format of comm and is as follows: no parameter 1 1 1 0 1 0 0 0 the command copies a single raster line of data positioned by the address pointer (in graphic area) to the corresponding area in the graphic area. if the
user ? s man u al - 15 - attribute function is being used, this co mmand is not available. 5-6-10 bit set/reset: no p a ramete r 1 1 1 1 n 3 n 2 n 2 n 0 this command is used to se t or reset a bit of the byte spe c ified by the address poin t er . n3=1, set; n3=0, reset. n2~n0 correspond s to the d0~d7 bit. 5-7. module and mpu connection mpu uses d a t a bus and control line s to control the module by means of direct storage access or i/o access. interface ci rcuit is sh own in follow i ng diagram: mpu: 8031 dat a bus of 8031 is conn ect ed directly to the dat a bus of module. rd an d wr of 8031 act as the read/write control si gnal of mo dule. ce ca n be decoded by address bus . for exam p l e: output y0 of ic 138 as ce. when test the module indepe ndentl y , ce could be gr ound ed directly . ) o u tput a0 of 8 031 a ddress bus as c/d. a0=1 st ands for the address of command a0=0 st ands for address of dat a. each subpro g ram is as follows: 1 s t a t us read registers to be used: r0, a; output register: a store st atus bf: mov r0, #01h ; address of command movx a, @ r0 ; read st atus r e t
user?s manual - 16 - relevant subprograms could be deriv ed from above-mentioned program: a. subprogram of sta0 and sta1 status check, before the command write and data write and read sta0 and sta1 should both be defined to be ?1?: bf1: lcall bf jnb acc.0, bf1 ; sta0 status check jnb acc.1, bf1 ; sta1 status check ret b. subprogram of sta2 status c heck, sta2 should be checked between reading of each datum. sta2=1 s hould be confirmed before each reading during the continuous reading. bf2: lcall bf jnb acc.2, bf2 ;sta2 status check ret similarly, subprogram of sta3 stat us check is listed as follows: bf3: lcall bf jnb acc.3, bf3 ; sta3 status check ret c. after the screen peek and screen copy commands, the sta6 status should be checked. sta6=0 indicates that the commands are correctly performed. for example: bf6: lcall bf jb acc.6, err ; sta6 status check ret err: ; error disposal program 2 subprogram of writing command and data register to be used: r0, r2, r3, r4, a: input register: r2 is the first para meter, r3 is the second parameter r4 is the command code wr: lcall bf1 : entrance of double parameter command mov a, r2 lcall wr4 wr1: lcall bf1 ; entrance of single parameter command mov a, r3 lcall wr4 wr2: lcall bf1 ; entrance of no parameter command
user?s manual - 17 - mov a, r4 sjmp wr5 wr4: mov r0, #00h ; entrance of writing data wr5: movx @ r0, a ret this program is generally used. when entering data and single parameter commands, the data and commands should be sent into r3. the entrance of subprogram is wr4 and wr1 respective ly. the entrance of no parameter command is wr2. 3 subprogram of data writing register to be used: r0, a; output register: a store data rd: lcall bf1 mov r0, #00h movx a, @ r0 ret 5-8 example of application program the precondition is fs=0, t hat is, choose the 8x8dots. 5-8-1. subprogram of clearing ddram clr: mov r2, #00h ; ram address=0000h mov r3, #00h mov r4, #24h ; set address pointer lcall wr mov r4, #0b0h ; set data auto write lcall wr2 mov r2, #1fh ; auto write 8k byte clr1: mov r3, #0ffh clr2: lcall bf3 ; check status sta3 clr a lcall wr4 ; write 00h djnz r3, clr2 djnz r2, clr1 mov r4, #0b3h ; auto reset lcall wr2 ret 5-8-2. subprogram of initialization ini: lcall clr mov r2, #00h ; set text area
user?s manual - 18 - mov r3, #00h mov r4, #40h lcall wr mov r2, #1eh mov r3, #00h mov r4, #41h lcall wr mov r2, #00h ; set graphic area mov r3, #08h mov r4, #42h lcall wr mov r2, #1eh mov r3, #00h mov r4, #43h lcall wr mov r4, #80h ; set display mode lcall wr2 mov r4, #94h ; text on lcall wr2 ret the following is an example which is to display in the top left corner of the screen. lcall ini mov r2, #00h mov r3, #00h mov r4, #24h lcall wr mov r3, #01h mov r4, #0c0h lcall wr1 ret 5-8-3. set cgram set offset register content 1 set the matrix data and characte r codes of the characters. for example, the chinese character , choose the c haracter codes between 80h and ffh, then the matrix data and character codes of the character ? ? are defined as follows: structure of matrix data character code top left 04h, 04h, 04h, 04h, 04h, 7ch, 04h, 04h 80h bottom left 04h, 04h, 04h, 04h, 1ch, e4h, 44h, 00h 81h top right 80h, 80h, 88h, 98h, a0h, c0h, 80h, 80h 82h
user?s manual - 19 - bottom right 80h, 80h, 80h, 8ch, 82h, 82h, 7eh, 00h 83h write into cgram wrcg: mov r2, #03h mov r3, #00h mov r4, #22h ; set offset register lcall wr mov dptr, #tab1 ; matrix data home address mov r2, #00h mov r3, #1ch ; cgram address mov r4, #24h ; set address pointer lcall wr mov r4, #0b0h ; set auto write lcall wr2 mov r2, #20h ; number of matrix data wrcg1: lcall bf3 ; check status sta3 clr a movc a, @a+dptr ; read matrix data lcall wr4 ; write into cgram inc dptr djnz r2, wrcg1 mov r4, #0b2h ; auto reset lcall wr2 ret tab1: db 04h, 04h, 04h, 04h, 04h, 7ch, 04h, 04h db 04h, 04h, 04h, 04h, 1ch, 0e4h, 44h, 00h db 80h, 80h, 88h, 98h, 0a0h, 0c0h, 80h, 80h db 80h, 80h, 80h, 80h, 82h, 82h, 7eh, 00h 5-8-4. chinese characters display matrix data of chinese character are in the sequence of top left corner 8 bytes from top to bottom ? left bottom left corner 8 bytes from top to bottom ? top right corner (8 bytes from top to bottom ? bottom right corner(8 bytes from top to bottom . 1 display of chinese character in text mode in this mode, only 64 chinese charac ters with 16x16 dots can be entered as a maximum. (4 character codes for a chinese character) the address pointer is already positioned on the top left corner of the character to be entered. register to be used: r2, r3, r4, a; input register: r3 store chinese character codes
user?s manual - 20 - wrhzt: mov r4, #0c0h ; data write address+1 lcall wr1 ; r3 set in the main program, for example r3=80h inc r3 inc r3 lcall wr1 ; r3=82h dec r3 ; r3=81h mov r2, #1ch mov r4, #0c1h ; data read, address+1 wrhzt1: lcall wr2 djnz r2, wrhzt1 ; move the address pointer to the left bottom corner of the chinese character mov r4, #0c0h lcall wr1 inc r3 inc r3 ; r3=83h lcall wr1 ret 2 display of chinese character in the graphic mode this method is to build a chinese character storage area in the rom of mpu system, the chinese character matr ix should be input byte by byte in graphic mode. register to be used: a, r2, r3, r4 dptr is a home address of one ch inese character matrix array and will be assigned in the main program. wrhzg: mov r2, #10h ; number of cycles mov a, #00h wrhzg1: push acc ; push code into stack movc a, @a+dptr ; read character matrix mov r3, a mov r4, #0c0h lcall wr1 pop acc ; pop code from stack push acc ; push code into stack add a, #10h ; locate the pointer to the matrix of the byte on the right movc a, @a+dptr ; read character matrix mov r3, a lcall wr1
user?s manual - 21 - mov a, r2 mov r3, a ; r3=r2 mov r2, #1ch ; number of cycles mov r4, #0c1h wrhzg2: lcall wr2 ; change the address pointer djnz r2, wrhzg2 mov a, r3 mov r2, a ; recover r2 pop acc ; pop code of stack inc a ; code+1 djnz r2, wrhzg1 ret 5-8-5. application of text attribute mode display the character string ?welcome!? on the top left corner of the screen: ?welcome , blink of reverse display; , normal display. the subprogram is tcr in which tab2 acts as charac ter code and tab3 as corresponding text attribute code. tcr: mov r4, #9ch ;start the text and graphic mode lcall wr2 mov r4, #84h ; text attribute mode set lcall wr2 mov r2, #00h mov r3, #00h mov r4, #24h ; address pointer set lcall wr mov r2, #00h ; number of characters tcr1: mov dptr, #tab2 ; table of characters mov a, r2 movc a, @a+dptr mov r3, a mov r4, #0c0h lcall wr1 inc r2 cjne r2, #08h, tcr1 mov r2, #00h mov r3, #08h mov r4, #24h ; address pointer set lcall wr mov r2, #00h ; number of characters tcr2: mov dptr, #tab3 ; table of characters mov a, r2
user ? s man u al - 22 - movc a, @ a +dptr mov r3, a mov r4, #0c0h lcall wr1 inc r2 cjne r2, #08h, tcr2 ret t ab2: db 37h, 25 h, 2ch, 23h , 2fh, 2dh, 25h, 01h t ab3: db 0dh, 0d h, 0dh, 0dh , 0dh, 0dh, 0dh, 08h 5-8-6. application program for example, to display on the top lef t corner of the screen , the progra m is: org 0000h s t a r : l c a l l i n i ; i n i t i a l i z e mov r2, #00h ; display mov r3, #00h mov r4, #24h l c a l l w r mov r3, #01h m o v r 4 , # 0 c 0 h l c a l l w r 1 r e t the flow chart of this program is as follows: en d di s p l a y c h a r . s te x t o n s e t g r ap h i c ae r a set d i sp l a y m o d e set t e x t a e r a c l e a r ddr a m
user ? s man u al - 23 - 6. quality level 6-1. inspection conditions 6-1-1. the envir on ment al conditions for insp ection shall b e as follows: room tempe r ature: 20 3 h u m i d i t y : 6 5 20% rh 6-1-2. the extern al visual inspection: using a 20w fluorescent lamp for illumi nation shall perform the inspection. the dist ance between lc d and the in specto r ? s eyes should be at least 30cm. 6-1-3. (1) light method (2) inspection dist ance a nd angle 6-2. sampling procedures for eac h item? s accept ance level t able defect t y p e sampli ng pr oc edur e aql major def ect mil-st d-105d inspection l e v e l i normal i n spect i on singl e samp le i n specti on q/ed-01-98(ii) minor def ect mil-st d-105d inspection l e v e l i normal i n spect i on singl e samp le i n specti on q/ed-01-98(ii)
user ? s man u al - 24 - 6-3. classification of defect s 6-3-1. ma jor defect a major defect refers to a defect that may subst a n t ially degrade usability fo r product appli c ations. 6-3-2. minor defect a minor defect refers to a defect t hat deviates from existin g st andards almost unrelated to the ef fective us e o f the product or it s operation. 6-4 . inspection st andar ds item criterion for defect s defect t y pe 1) displ a y on i n specti on (1) non dis p l a y (2) v e rtical lin e is deficie nt (3) horizo nt al li ne i s deficie nt (4) cross line is d e ficient major 2) black w h it e spot size (mm) accept able num ber ? 0.3 ignore (note) 0.3< ? 0 . 4 5 3 0.45< ? 0 . 6 1 0.3< 0 (note) n o t allo w e d if fo ur more spot s cro w d tog e ther minor 3) black w h it e line length (mm) wid t h (mm) accept able num ber l 1 0 w 0.03 ignore 5.0 l 1 0 0.03< w 0 . 0 4 3 5.0 l 1 0 0.04< w 0 . 0 5 2 1.0 l 1 0 0.05< w 0 . 0 6 2 1.0 l 1 0 0.06< w 0 . 0 8 1 l 10 0.08< w follo w s 2) point d e fect defect s sep a ra te w i th each ot her at an interv al of more than 20mm. minor 4) displ a y p a ttern [ u n i t : m m ] a+b 0.45 0< c d+e 0.35 f+g 0.35 2 2 2 note: 1) up to 3 dama ges acc ept abl e 2) not all o w ed if ther e a r e t w o or more pinh ol es ever y three- f o u r t h s i n c h . minor
user ? s man u al - 25 - item criterion for defect s defect t y pe 5) s pot-like co ntrast irregularit y s i z e (m m) acce pt able n u mb er ? 0.7 ign o re (note) 0 . 7 < ? 1 . 0 3 1 . 0 < ? 1 . 5 1 1 . 5 < 0 note: 1) confo rmed to limit sa mples. 2) interva l s of defect s are more than 3 0 mm. minor 7) scratches and dent o n th e polar izer scratches and dent on the pol arizer s hal l be in the accorda n ce w i t h ?2) black/ w h ite spot?, and ?3) black/w h ite lin e?. minor 8) s t ains on the surface of lcd p a nel s t ains w h ic h cann ot be remo ved eve n w h e n w i ped l i g h tl y w i t h a sof t cloth or similar cl e anin g . minor 9) rain bo w c o l o r no rain bo w co l o r is allo w e d in t he optimum contrast on st ate w i t h in the active are a . minor 10) v i e w i n g ar ea encro achme n t polariz e r ed ge or line is vis i b l e in the ope ni ng vie w i n g are a due to polar izer sh ortness or sea lin g line. minor 1 1 ) bezel app e a ranc e rust and d e e p dama ges that are visib l e in th e beze l are rej e cted. minor 12) defect of la nd surface cont act evide n t crevice s that are visibl e are rej e cted. minor 13) part s moun ting (1) failure to mount p a rt s (2) part s not in the specificati ons are mou n ted (3) f o r exam ple: p o larit y is revers ed, hsc or t c p falls of f. major 14) part ali gnm ent (1) lsi, ic lead w i d t h is more tha n 50% b e y o nd p ad o u tlin e. (2) more than 5 0 % of lsi, ic leads is of f the p ad outlin e. minor 15) co nductiv e foreign matter (solder ball, solder hip s ) (1) 0.45< , n 1 (2) 0.3< ? 0.45, n 1 : a v erage di a m eter of solder ball (u nit: mm) (3) 0.5< l, n 1 l: a v erage length of solder chip (unit: mm) major minor minor 16) pcb p a tter n dama ge (1) deep dam age is foun d on c o pper fo il a nd th e p a ttern is ne arl y broke n . (2) damag e on co pper foi l other than 1) a bove major minor 17) f ault y pcb correction (1) due to pcb copper foil p a ttern burn o u t, the p a ttern is conn ected, usi ng a jum per w i re for rep a ir;2 or more plac es are corrected per pcb. (2) short-circuite d p a rt is cu t, and no resist coating has bee n performe d. minor 18) beze l fla w bezel cl a w missing or n o t bent minor
user?s manual - 26 - item criterion for defects defect type 19) indication on name plate (sampling indication label) (1) failure to stamp or label error, or not legible (all acceptable if legible). (2) the separation is more than 1/3 for indication discoloration, in which the characters can be checked. minor 7. reliability 7-1 lifetime 50,000 hours (25 in the room without ray of sun) 7-2 items of reliability (see the next page) item condition criterion 1) high temperature operating 60 96hrs 2) low temperature operation -20 96hrs no cosmetic failure is allowable. contrast ratio should be between initial value 10%. total current consumption should be below double of initial value. 3) humidity 40 , 90%rh, 96hrs 4) high temperature 70 96hrs 5) low temperature -30 96hrs 6) thermal shock 2530 25 70 5(min) 30(min) 5(min) 30(min) 5 cycle, 55~60%rh no cosmetic failure is allowable. contrast ratio should be between initial value 20%. total current consumption should be below double of initial value. 7) vibration 10~55~10hz amplitude: 1.5mm 2hrs for each direction (x,y,z) no defects in cosmetic and operational function are allowable. total current consumption should be below double of initial value. 8. handling precautions 8-1 mounting method a panel of lcd module made by dalian ea stern display co., ltd. consists of two thin glass plates with polar izers that easily get damaged. and since the module is c onstructed and fixed by utiliz ing fitting holes in the printed circuit board (pcb), extrem e care should be used when handling the lcd modules. 8-2 cautions of lcd handling and cleaning
user?s manual - 27 - when cleaning the display surface, wipe light ly with soft cloth with solvents (recommended below). ? isopropyl alcohol ? ethyl alcohol ? trichlorotriflorothane do not wipe the display surface with dry or hard materials that may damage the polarizer surface. do not use the following solvents: ? water ? ketene ? aromatics 8-3 caution against static charge the lcd module uses c-mos ls i drivers. so we recommend you: connect any unused input terminal to v dd or v ss . do not input any signals before power turns on, and ground your body, work/assembly areas, and assembly equipment to protect against static electricity. 8-4 packaging - a module employs lcd elements, and must be treated as such. avoid intense shock and falls from a height. - to prevent modules from degradat ion, do not operate or store them exposed direct to sunshine or high temperature/humidity. 8-5 caution for operation - it is an indispensable condition to drive lcd module within the limits of the specified voltage since the higher vo ltage over the limits may cause the shorter life of lcd module. an electrochemical reaction due to dc (direct current) causes lcd undesirable deterioration so that the uses of dc (direct current) drive should be avoided. - response time will be extremely del ayed at lower temperature than the operating temperature range and on the other hand at higher temperature lcd module may show dark color in them. however those phenomena do not mean malfunction or out of order of lcd module, which will come back in the specified oper ating temperature. - 8-6 storage in the case of long time storage, the following ways are recommended: - to be stored in polyethylene bag with the opening sealed so as to prevent fresh air out. do not put desiccant into the bag. - to be placed in a dark place where t here is neither exposure to direct sunlight nor light. keep within the storage temperature range. - to be stored with no touch on polar izer surface by any thing else.
user ? s man u al - 28 - 8-7 safety - it is recommended to cr ash damaged or unnecessary lcd into pieces and to wash of f liquid cr yst a l by eith er of solvent s such as a c etone an d ethanol, which should be burne d up later . - when any liquid leaked out of a dam aged glass cell comes in cont a c t with your ha nds, please wash it of f with soap and water at once. 9. precaution for use 9-1 both p a rties should provi de a limit sample on an occasion when both p a rties agree to it s n e cessity . the judgem ent by a limit sample sh all t a ke ef fe ct af ter the limit sample ha s been est ablished and confirmed by b o th p a rties 9-2 on the fo llowing occasions, the handli ng of p r o b lem should be decide d throug h discussion and agre e me nt between r e s ponsible of the both p a rties. - when a qu e s tion is arise n in this manual. - when a ne w problem is arisen which is not specified in this manual. - some probl em is arise n due to the change of inspec tion and op eratin g conditions in users. - when a new problem is arisen at the customer ? s operating set for sample evalu a tion in the customer site. 10. appendix character c ode t able


▲Up To Search▲   

 
Price & Availability of GDM240128A

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X